<template>
  <div class="profile-container">
    <h1>商家信息</h1>
    
    <el-card class="profile-card">
      <el-form :model="merchantInfo" label-width="120px">
        <el-form-item label="店铺名称">
          <el-input v-model="merchantInfo.storeName"></el-input>
        </el-form-item>
        <el-form-item label="地址">
          <el-input v-model="merchantInfo.address"></el-input>
        </el-form-item>
        <el-form-item label="电话">
          <el-input v-model="merchantInfo.phone"></el-input>
        </el-form-item>
        <el-form-item label="店铺简介">
          <el-input type="textarea" v-model="merchantInfo.description"></el-input>
        </el-form-item>
        <el-form-item>
          <el-button type="primary">保存</el-button>
        </el-form-item>
      </el-form>
    </el-card>
  </div>
</template>

<script>
export default {
  name: 'MerchantProfile',
  data() {
    return {
      merchantInfo: {
        storeName: '',
        address: '',
        phone: '',
        description: ''
      }
    }
  },
  created() {
    // Load merchant profile
    console.log('Loading merchant profile')
  },
  methods: {
    // Methods will be added later
  }
}
</script>

<style scoped>
.profile-container {
  padding: 20px;
}
.profile-card {
  margin-top: 20px;
}
</style> 